package edu.sandau.basic.service;

import edu.sandau.basic.domain.Role;
import edu.sandau.basic.domain.User;

import java.util.List;

public interface UserRoleService {
    List<Role> getUserRoles(Integer userId);
    void updateUserRoles(Integer userId, List<Integer> roleIds);
    void deleteUserRoles(Integer userId);
    List<User> getUsersByRole(Integer roleId);
}
